package com.gjm.order.dao.mapper;

import com.gjm.order.dao.objectdata.OrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface OrderMapper {

    /**
     * 根据 id 查询订单信息
     * @param orderId
     * @return
     */
//    @Select("select * from order_detail where id = #{orderId}")
    OrderInfo getOrderInfoById(Integer orderId);
}
